package com.cmos.um.service.impl;


import com.alibaba.dubbo.config.annotation.Service;
import com.cmos.um.beans.CtiMessageTask;
import com.cmos.um.dao.CtiMessageTaskMapper;
import com.cmos.um.iservice.ICtiMessageTaskSV;
import org.springframework.beans.factory.annotation.Autowired;
import java.util.List;


@Service
public class CtiMessageTaskSVImpl implements ICtiMessageTaskSV {
    @Autowired
    private CtiMessageTaskMapper ctiMessageTaskMapper;
    @Override
    public int insertSelective(CtiMessageTask ctiMessageTask) {
        return ctiMessageTaskMapper.insertSelective(ctiMessageTask);
    }
    @Override
    public int deleteByPrimaryKey(CtiMessageTask ctiMessageTask) {
        return ctiMessageTaskMapper.deleteByPrimaryKey(ctiMessageTask.getTaskId());
    }

    @Override
    public List<CtiMessageTask> queryCtimessageConditional(String taskXfId) {
        return ctiMessageTaskMapper.queryCtimessageConditional(taskXfId);
    }

    @Override
    public CtiMessageTask queryCtiTaskConditional(String ctiId, String taskId) {
        return ctiMessageTaskMapper.queryCtiTaskConditional(ctiId,taskId);
    }


}
